package cn.study.luckyclient.api;

import cn.study.luckyclient.dto.RuleAddCmd;
import cn.study.luckyclient.dto.RuleUpdateCmd;
import cn.study.luckyclient.dto.data.RuleVo;
import cn.study.luckyclient.dto.query.RuleListByParamQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.commons.digester.Rule;

public interface IRuleService {
    RuleVo add(RuleAddCmd cmd);
    RuleVo update(RuleUpdateCmd cmd);
    IPage<RuleVo> query(RuleListByParamQuery query);
}
